.order-assignment {
    padding: 24px;
    background-color: #f5f7fa;
    min-height: 100vh;
}

.assignment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.assignment-header h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 600;
}

.control-panel {
    display: flex;
    gap: 12px;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #1890ff;
    color: white;
}

.btn-primary:hover {
    background-color: #40a9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #e8e8e8;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
}

.btn-secondary.active {
    background-color: #52c41a;
    color: white;
    border: none;
}

.assignment-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.orders-container, .stores-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.orders-container h3, .stores-container h3 {
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 8px;
}

.orders-list::-webkit-scrollbar {
    width: 6px;
}

.orders-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.orders-list::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
}

.order-item {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    background: white;
}

.order-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.order-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.order-id {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.order-priority {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.order-priority.high {
    background-color: #fff1f0;
    color: #f5222d;
}

.order-priority.normal {
    background-color: #f0f5ff;
    color: #1890ff;
}

.order-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.order-item.pending .order-status {
    background-color: #f5f5f5;
    color: #666;
}

.order-item.assigned .order-status {
    background-color: #e6f7ff;
    color: #1890ff;
}

.order-item.processing .order-status {
    background-color: #f0f5ff;
    color: #2f54eb;
}

.order-item.completed .order-status {
    background-color: #f6ffed;
    color: #52c41a;
}

.order-item.exception .order-status {
    background-color: #fff1f0;
    color: #f5222d;
}

.order-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #666;
    font-size: 13px;
}

.stores-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.store-item {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    background: white;
}

.store-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.store-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.store-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.store-performance {
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 12px;
}

.store-load {
    display: flex;
    align-items: center;
    gap: 12px;
}

.load-bar {
    flex: 1;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.load-progress {
    height: 100%;
    background-color: #1890ff;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.load-text {
    font-size: 13px;
    color: #666;
    min-width: 60px;
    text-align: right;
}